<!--
 * @Descripttion: 
 * @version: 
 * @Author: Connor
 * @Date: 2021-03-02 09:03:50
 * @LastEditors: Connor
 * @LastEditTime: 2021-04-14 14:56:40
-->
<template>
  <div >
       <p v-for="(item,index) in waybillNos" :key="index">{{item}}</p>
  </div>
</template>
<script>

export default {
    props: ["field","data"],
    data() {
        return {
            waybillNos:[],
        };
    },
    mounted() {
        this.driversWaybillNo();
    }, 
    methods: {
        driversWaybillNo() {
            
            if(this.data.waybills) {
                this.data.waybills.forEach(element => {
                    this.waybillNos.push(element.waybillNo);
                });
            }
        },
      }
}
</script>
<style scoped>

</style>

<style lang="scss">
.row-item {
  color: #3f4652;
  line-height: 28px;
  margin-bottom: 14px;
}

  
</style>
